projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c56e0d
)
i386: Remove unnecessary, and broken, address check I added to seg
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 21 Nov 2007 12:00:20 +0000
(12:00 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 21 Nov 2007 12:00:20 +0000
(12:00 +0000)
fixup code. Oops.
Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
xen/arch/x86/x86_32/seg_fixup.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/x86_32/seg_fixup.c
b/xen/arch/x86/x86_32/seg_fixup.c
index fcee02aad8ab969425fe8c45ee4db0323b988500..6dec66f5033a8bee8c284fd53c61d71a33d06c92 100644
(file)
--- a/
xen/arch/x86/x86_32/seg_fixup.c
+++ b/
xen/arch/x86/x86_32/seg_fixup.c
@@
-216,10
+216,6
@@
static int linearise_address(u16 seg, unsigned long off, unsigned long *linear)
*linear = base + off;
- /* Conservatively check 32 bytes from returned linear base. */
- if ( !access_ok(linear, 32) )
- return 0;
-
return 1;
}